registerCameraTorchModeCallBack

Register for camera torch mode events to be notified whenever there is a changes in the mode.

Parameters

handler

: The handler on which call back gets notified or {@code null} to use the current thread's {@link android.os.Looper looper}.

callback

: Torch mode call back event listener